package com.huluobo.a2109mvpimdemo.contact;

import java.util.List;

/**
 * Created by LC on 2023/11/18.
 * 联系人协议
 */
public interface ContactContract {
    interface Presenter {
        void loadContacts();

        void findContact(String username);
    }

    interface View {
        void onLoadContactsSuccess(List<ContactListItemBean> contactListItemBeanList);

        void onLoadContactsFailed(String error);

        void onFindContactSuccess(List<ContactListItemBean> contactListItemBeanList);

        void onFindContactFailed();
    }
}
